package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单业务对账表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_ddywdz_2025040108115836")
public class OrderReconciliationDO extends BaseDO {

    /**
     * 对账单号
     */
    @TableField("comInputField121")
    private String reconciliationNo;

    /**
     * 订单号
     */
    @TableField("selectField176")
    private String orderNo;

    /**
     * 对账日期
     */
    @TableField("dateField124")
    private LocalDateTime reconciliationDate;

    /**
     * 公司
     */
    @TableField("selectField117")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("selectField113")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField174")
    private String supplierCode;

    /**
     * 对账总数量
     */
    @TableField("numInputField125")
    private Integer totalReconciliationQuantity;

    /**
     * 对账人
     */
    @TableField("userSelectField126")
    private String reconciler;

    /**
     * 应对含税金额
     */
    @TableField("numInputField127")
    private BigDecimal expectedAmountIncludingTax;

    /**
     * 实对含税金额
     */
    @TableField("numInputField128")
    private BigDecimal actualAmountIncludingTax;

    /**
     * 附件
     */
    @TableField("uploadFzField129")
    private String attachment;


    /**
     * 采购员
     */
    @TableField("userSelectField179")
    private String purchaser;

    /**
     * 备注信息
     */
    @TableField("comInputField130")
    private String remark;

    /**
     * 对账类型
     */
    @TableField("selectField175")
    private String reconciliationType;

    /**
     * 状态  1-待我确认；2-待供方确认；3-已确认；4-已退回
     */
    @TableField("selectField222")
    private String status;

}